get /cloudextensions/{cloudExtensionId}/subnets

Describe Subnets (getSubnets)

Describes the Subnets in a Cloud Extension.

Path parameters

cloudExtensionId (required)

Path Parameter — Cloud Extension ID

Consumes

This API call consumes the following media types via the Content-Type request header:

  • application/json

Return type

array[Subnet]

availabilityZone (optional)

String Availability ZOne

cidrBlock (optional)

String VNet CIDR Block. Nain block of IP addresses for the VNet. The selected block must not overlap with address blocks used on-prem. Private and public subnets will be carved out of this block. Azure supports small CIDR blocks sizes of /29 and large CDR block sizes of /8.

id (optional)

String

Example data

Content-Type: application/json

[

{

"availabilityZone": "eu-west-1c",

"cidrBlock": "10.10.1.0/24",

"id": "subnet-123456"

}

]

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

  • application/json

Responses

200

OK

Default

Error ErrorInfo

errorCode (optional)

String

url(optional)

String

message (optional)

String